package cn.edu.imau.zy.system.feign;

import cn.edu.imau.zy.common.constant.ServiceNameConstants;
import cn.edu.imau.zy.common.core.domain.R;
import cn.edu.imau.zy.common.core.entity.student.StStudent;
import cn.edu.imau.zy.common.core.entity.student.StStudentPoor;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 学生信息 Feign服务层
 */
@FeignClient(name = ServiceNameConstants.STUDENT_SERVICE)
public interface RemoteStudentPoorService {
    @PostMapping("poor/update")
    R editSave(@RequestBody StStudentPoor stStudentPoor);

}
